<template>
  <div class="Home">
    <div><ding></ding></div>
    <div><Home2></Home2></div>
    
  </div>
</template>
<script>
// import Home2 from './Home2'
import Home2 from "../components/Home2";
import ding from "../components/ding";

export default {
  name: "Home",
  beforeDestroy(){
        console.log('about被销毁了');
    },
  components: {
    // 注册子组件
    Home2,
    ding

  },
};
</script>

<style land="less"  scoped>

</style>

